package com.practice.pojo.user.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Jasmine
 * @since 2023-05-14
 */
@Data
@Accessors(chain = true)
@Builder
public class UserVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("0是男，1是女")
    private Integer sex;

    //@ApiModelProperty("密码")
    //private String password;

    @ApiModelProperty("用户头像")
    private String icon;

    @ApiModelProperty("个性描述")
    private String notes;

    @ApiModelProperty("出生年月")
    private String birthday;

    @ApiModelProperty("现居住地址")
    private String address;

    @ApiModelProperty("是否为默认数据，null表示不是，1表示是")
    private String defaultData;


}
